import {myRequest} from "../utils/request.js"
export function setting(data){
	return myRequest({
		url:"shop/common/setting",
		method: "post",
		data:data||{}
	})
}
export function logOff(data){
	return myRequest({
		url:"shop/user/logOff",
		method: "post",
		data:data||{}
	})
}
export function scorelist(data){
	return myRequest({
		url:"shop/userScoreLog/list",
		method: "post",
		data:data||{}
	})
}
export function Morelist(data){
	return myRequest({
		url:"shop/userMoneyLog/list",
		method: "post",
		data:data||{}
	})
}
export function detail(data){
	return myRequest({
		url:"shop/user_cloud_voucher/detail",
		method: "post",
		data:data||{}
	})
}
//腾讯地图根据经纬度地址解析
export function geocoder(data){
	return myRequest({
		url:"shop/common/geocoder",
		method: "post",
		data:data||{}
	})
}
export function agentConsult(data){
	return myRequest({
		url:"shop/agentConsult/index",
		method: "post",
		data:data||{}
	})
}
export function subconsult(data){
	return myRequest({
		url:"shop/agentConsult/consult",
		method: "post",
		data:data||{}
	})
}
export function businessInfo(data){
	return myRequest({
		url:"shop/user/businessInfo",
		method: "post",
		data:data||{}
	})
}
export function applyBusiness(data){
	return myRequest({
		url:"shop/user/applyBusiness",
		method: "post",
		data:data||{}
	})
}
export function settingrule(data){
	return myRequest({
		url:"localSeller/common/setting",
		method: "post",
		data:data||{}
	})
}

// 获取地区数据
export function commonArea(data){
	return myRequest({
		url:"localSeller/common/area",
		method: "post",
		data:data||{}
	})
}
// 获取地区数据
export function AreaParent(data){
	return myRequest({
		url:"shop/common/areaParent",
		method: "post",
		data:data||{}
	})
}
// 需四级的城市
export function fourArea(data){
	return myRequest({
		url:"shop/common/fourArea",
		method: "post",
		data:data||{}
	})
}

// 本地生活分类
export function categoryList(data){
	return myRequest({
		url:"localSeller/common/categoryList",
		method: "post",
		data:data||{}
	})
}
export function deepseek(data){
	return myRequest({
		url:"shop/ai/deepseek",
		method: "post",
		data:data||{}
	})
}
export function deepseekindex(data){
	return myRequest({
		url:"shop/ai/index",
		method: "post",
		data:data||{}
	})
}
export function appVersion(data){
	return myRequest({
		url:"shop/common/appVersion",
		method: "post",
		data:data||{}
	})
}
export function category(data){
	return myRequest({
		url:"shop/article/category",
		method: "post",
		data:data||{}
	})
}
export function artdetail(data){
	return myRequest({
		url:"shop/article/detail",
		method: "post",
		data:data||{}
	})
}
export function artindex(data){
	return myRequest({
		url:"shop/article/index",
		method: "post",
		data:data||{}
	})
}
export function noticeDetail(data){
	return myRequest({
		url:"/shop/advert/noticeDetail",
		method: "post",
		data:data||{}
	})
}
export function Invoicelist(data){
	return myRequest({
		url:"shop/userInvoice/index",
		method: "post",
		data:data||{}
	})
}
export function Invoicedetail(data){
	return myRequest({
		url:"shop/userInvoice/detail",
		method: "post",
		data:data||{}
	})
}
export function addInvoice(data){
	return myRequest({
		url:"shop/userInvoice/add",
		method: "post",
		data:data||{}
	})
}
export function editInvoice(data){
	return myRequest({
		url:"shop/userInvoice/edit",
		method: "post",
		data:data||{}
	})
}
export function deleteInvoice(data){
	return myRequest({
		url:"shop/userInvoice/delete",
		method: "post",
		data:data||{}
	})
}
export function setDefault(data){
	return myRequest({
		url:"shop/userInvoice/setDefault",
		method: "post",
		data:data||{}
	})
}
export function lastInvoice(data){
	return myRequest({
		url:"shop/userInvoice/lastInvoice",
		method: "post",
		data:data||{}
	})
}
export function qrcode(data){
	return myRequest({
		url:"shop/share/qrcode",
		method: "post",
		data:data||{}
	})
}
export function wxConfig(data){
	return myRequest({
		url:"shop/share/wxConfig",
		method: "post",
		data:data||{}
	})
}
export function dmdetail(data){
	return myRequest({
		url:"local/user_local_voucher/detail",
		method: "post",
		data:data||{}
	})
}
export function serviceVoucherLoglist(data){
	return myRequest({
		url:"shop/serviceVoucherLog/list",
		method: "post",
		data:data||{}
	})
}

export function dayTask(data){
	return myRequest({
		url:"shop/task_center/dayTask",
		method: "post",
				data:data||{}
			})
		}
export function getagentBanner(data){
	return myRequest({
		url:"shop/agentConsult/banner",

		method: "post",
		data:data||{}
	})
}

export function signIn(data){
	return myRequest({
		url:"shop/task_center/signIn",
		method: "post",
		data:data||{}
		
	})
}
export function onceTask(data){
	return myRequest({
		url:"shop/task_center/onceTask",
		method: "post",
		data:data||{}
		})
		}
export function getagentQuery(data){
	return myRequest({
		url:"shop/agentConsult/query",
		method: "post",
		data:data||{}
	})
}

export function weeklyTask(data){
	return myRequest({
		url:"shop/task_center/weeklyTask",
		method: "post",
		data:data||{}
	})
}
export function conventionalTask(data){
	return myRequest({
		url:"shop/task_center/conventionalTask",
		method: "post",
		data:data||{}
	})
}
export function receive(data){
	return myRequest({
		url:"shop/task_center/receive",
		method: "post",
		data:data||{}
	})
}
export function batchReceive(data){
	return myRequest({
		url:"shop/task_center/batchReceive",
		method: "post",
		data:data||{}
	})
}
export function trialThaw(data){
	return myRequest({
		url:"shop/userMoneyLog/trialThaw",
		method: "post",
		data:data||{}
	})
}
export function thawMore(data){
	return myRequest({
		url:"shop/userMoneyLog/thawMore",
		method: "post",
		data:data||{}
	})
}
export function shareMall(data){
	return myRequest({
		url:"shop/common/reportedTask",
		method: "post",
		data:data||{}
	})
}

export function getagentMessage(data){
	return myRequest({
		url:"shop/agentConsult/message",
		method: "post",
		data:data||{}
	})
}
export function userVitalityLoglist(data){
	return myRequest({
		url:"shop/userVitalityLog/list",
		method: "post",
		data:data||{}
	})
}
export function service(data){
	return myRequest({
		url:"shop/message/service",
		method: "post",
		data:data||{}
	})
}
export function interaction(data){
	return myRequest({
		url:"shop/message/interaction",
		method: "post",
		data:data||{}
	})
}
